﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BD
{
    class DynamicToResultItem : IConverter<dynamic,ResultItem>
    {

        public ResultItem Convert(dynamic from)
        {
            ResultItem to = new ResultItem();

            to.Title = from.title;
            to.URL = from.link;
            to.Description = from.content;

            return to;
        }


    }
}
